:global {
  /* 仅通过 html 进行加权即可 */
  html {
    .ant-spin-fullscreen-show::after {
      content: '';
      flex: 0 9999 20%;
    }

    .ant-tabs-tab-btn {
      font-weight: bold;
    }
    .ant-tabs-content-holder {
      display: flex;
    }
    .ant-tabs-tabpane {
      overflow: auto;
    }

    .ant-table-sticky-scroll {
      visibility: hidden !important;
    }
    .ant-table-pagination {
      padding-left: 2px; // 预留按钮点击效果
      padding-right: 2px; // 预留按钮点击效果
    }
    .ant-table-wrapper .ant-table-pagination.ant-pagination:first-child {
      margin-top: 2px; // 预留按钮点击效果
      margin-bottom: 10px;
    }
    .ant-table-wrapper .ant-table-pagination.ant-pagination:last-child {
      margin-top: 10px;
      margin-bottom: 2px; // 预留按钮点击效果
    }

    // 'small' | 'middle' | 'large' 均保持一致
    .ant-btn-link,
    .ant-btn-text {
      font-size: var(--ant-button-content-font-size-sm);
      line-height: var(--ant-button-content-line-height-sm);
      height: var(--ant-control-height-sm);
      padding: var(--ant-button-padding-block-sm) var(--ant-button-padding-inline-sm);
      border-radius: var(--ant-border-radius-sm);
    }

    .ant-badge.ant-badge-status .ant-badge-status-text {
      margin-inline-start: 4px;
    }

    :local {
      .drawer {
        --ant-drawer-footer-padding-block: 8px;
        --ant-drawer-footer-padding-inline: 20px;
      }
    }
    .ant-drawer-footer {
      background-color: var(--fba-bg);
    }
    .ant-drawer .ant-drawer-header {
      padding: 8px 20px;
    }
    .ant-drawer .ant-drawer-body {
      padding: 20px;
    }

    :local(.modal) {
      &:not(.ant-modal-confirm) {
        --ant-modal-content-padding: 0;
        --ant-modal-header-padding: 8px 20px;
        --ant-modal-header-border-bottom: var(--ant-line-width) var(--ant-line-type) var(--ant-color-split);
        --ant-modal-header-margin-bottom: 0;
        --ant-modal-body-padding: 20px;
        --ant-modal-footer-margin-top: 0;
        --ant-modal-footer-padding: 8px 20px;
        --ant-modal-footer-border-top: var(--ant-line-width) var(--ant-line-type) var(--ant-color-split);
        --ant-modal-footer-border-radius: 0 0 var(--ant-border-radius-lg) var(--ant-border-radius-lg);
        --ant-modal-footer-bg: var(--fba-bg);
        .ant-modal-close {
          top: 3px;
        }
      }
    }

    .ant-segmented .ant-segmented-item-selected .ant-segmented-item-label {
      font-weight: bold;
    }

    // 不让占位
    .ant-form-item-explain-error {
      position: absolute;
      font-size: 12px;
    }
  }
}
